package com.jic.member.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberGradeOrderRecharge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员等级管理-成长值规则-下单-充值赠送表
 * @author : 
 * @email : 
 * @since : 2020-04-02 08:03:51
 * @version : v1.0.0
 */
@Mapper
public interface  MememberGradeOrderRechargeMapper {

    long insert(MememberGradeOrderRecharge mememberGradeOrderRecharge);

    long delete(Long orderId);

    long update(MememberGradeOrderRecharge mememberGradeOrderRecharge);

    MememberGradeOrderRecharge queryByPrimaryKey(Long orderId);

    List<MememberGradeOrderRecharge> query(MememberGradeOrderRecharge mememberGradeOrderRecharge);

    List<MememberGradeOrderRecharge> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberGradeOrderRecharge") MememberGradeOrderRecharge mememberGradeOrderRecharge);

    long queryPageCount(MememberGradeOrderRecharge mememberGradeOrderRecharge);
}